-
Home
-
Disco – WooCommerce Dynamic Pricing & Discount Rules Plugin
-
1.2.31
-
Code
-
Classes
- SearchApi
| Total Complexity |
26 |
| Dependencies |
6 |
| Dependents |
1 |
| Total lines |
288 |
| Lines of code |
151 |
| Logical lines of code |
48 |
| Comment lines |
104 |
| Methods |
17 |
| Properties |
0 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| search_helper() |
S |
54 |
4 |
21 |
| get_item_schema() |
S |
46 |
2 |
47 |
| prepare_item_for_response() |
S |
62 |
4 |
11 |
| register_routes() |
S |
51 |
2 |
28 |
| validate_search_term() |
S |
72 |
2 |
6 |
| permissions_check() |
S |
80 |
1 |
3 |
| get_products() |
S |
79 |
1 |
3 |
| get_categories() |
S |
79 |
1 |
3 |
| get_tags() |
S |
79 |
1 |
3 |
| get_attributes() |
S |
79 |
1 |
3 |
| get_coupons() |
S |
79 |
1 |
3 |
| get_customers() |
S |
79 |
1 |
3 |
| get_states() |
S |
79 |
1 |
3 |
| get_countries() |
S |
79 |
1 |
3 |
| get_user_name() |
S |
79 |
1 |
3 |
| get_user_email() |
S |
79 |
1 |
3 |
| get_collection_params() |
S |
72 |
1 |
5 |